package com.example.microinvestmarket.service;
import com.example.microinvestcommon.pojo.Result;
import com.example.microinvestcommon.vo.StockNumSymbolVo;
import com.example.microinvestcommon.vo.StockOneFiveMinDataVo;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author tianwailaiwu
 */
@Service
public interface StockDataGetService {

    /**
     *
     * @return
     * 根据股票名称返回
     * 返回StockOneFive(15分钟K图)的List
     * 返回[
     * xx.xx,
     * xx.xx,
     * ......
     * ]
     */
    Result<List<Double>> getStockOneFiveMinData(String stockSymbol);

    /**
     * @retuen
     * 返回所有stockName
     * [name,name,name,name......]
     */
    Result<List<String>> getAllStockName();

    Result<List<StockNumSymbolVo>> getAllStocksNumAndSymbol();

}
